/*
 * @Author: CoderLPF
 * @Date: 2020-03-17 10:10:27
 * @LastEditTime: 2020-04-23 09:41:45
 * @LastEditors: CoderLPF
 * @Description: 
 * @FilePath: \fzx-system-fd\src\main.js
 */
import 'babel-polyfill';
import Es6Promise from 'es6-promise';
require('es6-promise').polyfill();
Es6Promise.polyfill();

import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import './plugins/element.js';
import './utils/dialog';

//解决跨域
import VueJsonp from 'vue-jsonp'
Vue.use(VueJsonp);

// 安装请求访问
import api from './api/install';
Vue.use(api);

// 导入全局样式表
import './assets/css/global.css';
import './assets/fonts/iconfont/iconfont.css';

Vue.config.productionTip = false;

console.log(process.env.VUE_APP_BASEURL);
console.log(process.env.NODE_ENV);


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');